
:root{
    --primary:#2563eb;
    --secondary:#06b6d4;
    --accent:#7c3aed;
    --dark:#020617;
    --light:#f8fafc;
    --glass:rgba(255,255,255,.15);
    --border:rgba(255,255,255,.2);
}

/* =========================================================
BASE
========================================================= */

html{
    scroll-behavior:smooth;
}

body{
    background:
        radial-gradient(circle at top left,#dbeafe 0%,transparent 30%),
        radial-gradient(circle at bottom right,#ede9fe 0%,transparent 30%),
        #f8fafc;
    overflow-x:hidden;
}

/* =========================================================
HERO
========================================================= */

.dept-hero{
    position:relative;
    overflow:hidden;
    padding:140px 0;
    background:
        linear-gradient(135deg,#020617 0%,#0f172a 50%,#1e3a8a 100%);
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
    background-size:40px 40px;
}

.hero-content{
    position:relative;
    z-index:10;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 24px;
    border-radius:50px;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    color:#fff;
    font-weight:600;
    margin-bottom:30px;
}

.hero-title{
    font-size:clamp(3rem,8vw,6rem);
    font-weight:900;
    color:#fff;
    line-height:1;
    margin-bottom:25px;
    text-shadow:0 10px 30px rgba(0,0,0,.4);
}

.hero-title span{
    display:block;
    background:linear-gradient(90deg,#60a5fa,#22d3ee,#c084fc);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-subtitle{
    max-width:850px;
    margin:auto;
    color:rgba(255,255,255,.85);
    font-size:1.2rem;
    line-height:1.9;
}

.hero-scroll{
    margin-top:40px;
}

.hero-scroll a{
    color:#fff;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-weight:600;
}

/* =========================================================
FLOATING EFFECTS
========================================================= */

.floating{
    position:absolute;
    border-radius:50%;
    filter:blur(50px);
    opacity:.4;
    animation:float 8s ease-in-out infinite;
}

.floating-1{
    width:300px;
    height:300px;
    background:#3b82f6;
    top:-80px;
    left:-80px;
}

.floating-2{
    width:250px;
    height:250px;
    background:#8b5cf6;
    bottom:-80px;
    right:-80px;
    animation-delay:2s;
}

.floating-3{
    width:180px;
    height:180px;
    background:#06b6d4;
    top:50%;
    left:50%;
    animation-delay:4s;
}

@keyframes float{
    0%,100%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-30px);
    }
}

/* =========================================================
GLASS CARD
========================================================= */

.glass-card{
    background:rgba(255,255,255,.7);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.5);
    border-radius:30px;
    box-shadow:
        0 10px 40px rgba(15,23,42,.08),
        inset 0 1px 0 rgba(255,255,255,.6);
}

/* =========================================================
NAVIGATION
========================================================= */

.dept-navigation{
    padding:40px;
}

.nav-header{
    text-align:center;
    margin-bottom:35px;
}

.nav-header h3{
    font-size:2rem;
    font-weight:800;
    margin-bottom:10px;
}

.nav-header p{
    color:#64748b;
}

.dept-nav-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:18px;
}

.dept-nav-item{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    gap:18px;
    padding:22px;
    border-radius:24px;
    background:#fff;
    text-decoration:none;
    transition:.4s;
    border:1px solid #e2e8f0;
}

.dept-nav-item:hover{
    transform:translateY(-8px) scale(1.02);
    box-shadow:0 20px 40px rgba(37,99,235,.18);
    border-color:#60a5fa;
}

.nav-icon{
    width:60px;
    height:60px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#2563eb,#06b6d4);
    color:#fff;
    font-size:1.4rem;
}

.nav-text{
    flex:1;
    font-weight:700;
    color:#0f172a;
}

.nav-arrow{
    color:#2563eb;
    font-size:1.2rem;
}

/* =========================================================
DEPARTMENT BLOCK
========================================================= */

.department-block{
    position:relative;
    overflow:hidden;
    margin-bottom:80px;
    border-radius:36px;
    background:#fff;
    box-shadow:
        0 20px 60px rgba(15,23,42,.08);
}

.department-header{
    position:relative;
    overflow:hidden;
    padding:50px;
    background:
        linear-gradient(135deg,#0f172a 0%,#1d4ed8 100%);
    color:#fff;
}

.dept-bg-pattern{
    position:absolute;
    inset:0;
    background:
        linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size:30px 30px;
}

.dept-top{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:25px;
    margin-bottom:25px;
}

.dept-icon{
    width:90px;
    height:90px;
    border-radius:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.15);
    font-size:2rem;
}

.dept-label{
    color:#93c5fd;
    font-size:.9rem;
    letter-spacing:2px;
    margin-bottom:5px;
}

.dept-title{
    font-size:2.4rem;
    font-weight:900;
    margin:0;
}

.dept-description{
    position:relative;
    z-index:2;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.1);
    padding:24px;
    border-radius:20px;
    line-height:1.9;
    color:rgba(255,255,255,.92);
}

.department-body{
    padding:50px 35px;
}

/* =========================================================
SECTION TITLE
========================================================= */

.section-title-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    margin-bottom:40px;
}

.section-line{
    width:80px;
    height:2px;
    background:linear-gradient(90deg,transparent,#3b82f6,transparent);
}

.section-title{
    margin:0;
    font-weight:800;
    font-size:1.4rem;
    color:#0f172a;
    display:flex;
    align-items:center;
    gap:12px;
}

/* =========================================================
STAFF CARD
========================================================= */

.staff-card{
    position:relative;
    overflow:hidden;
    background:#fff;
    border-radius:30px;
    padding:25px;
    text-align:center;
    transition:.5s;
    height:100%;
    border:1px solid #e2e8f0;
    box-shadow:
        0 10px 30px rgba(15,23,42,.06);
}

.staff-card:hover{
    transform:translateY(-12px);
    box-shadow:
        0 25px 50px rgba(37,99,235,.18);
}

.staff-glow{
    position:absolute;
    width:180px;
    height:180px;
    background:radial-gradient(circle,#93c5fd,transparent);
    top:-90px;
    right:-90px;
    opacity:.3;
}

.staff-image-wrap{
    position:relative;
    width:220px;
    height:220px;
    margin:auto;
    margin-bottom:25px;
}

.ring-effect{
    position:absolute;
    inset:-10px;
    border-radius:50%;
    background:
        linear-gradient(135deg,#2563eb,#06b6d4,#8b5cf6);
    animation:rotate 5s linear infinite;
}

.staff-image{
    position:relative;
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
    border:8px solid #fff;
    z-index:2;
}

@keyframes rotate{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

.staff-position-badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:linear-gradient(135deg,#2563eb,#06b6d4);
    color:#fff;
    font-size:.85rem;
    font-weight:700;
    margin-bottom:18px;
}

.staff-name{
    font-size:1.25rem;
    font-weight:800;
    color:#0f172a;
    margin-bottom:15px;
}

.staff-divider{
    width:60px;
    height:4px;
    border-radius:20px;
    background:linear-gradient(90deg,#2563eb,#06b6d4);
    margin:auto;
    margin-bottom:18px;
}

.staff-footer{
    color:#64748b;
    font-size:.95rem;
}

/* =========================================================
BUTTON
========================================================= */

.back-top-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 26px;
    border-radius:50px;
    background:linear-gradient(135deg,#0f172a,#2563eb);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.4s;
}

.back-top-btn:hover{
    transform:translateY(-5px);
    color:#fff;
    box-shadow:0 15px 30px rgba(37,99,235,.25);
}

/* =========================================================
ANIMATION
========================================================= */

.fade-up{
    opacity:0;
    transform:translateY(40px);
    animation:fadeUp .9s ease forwards;
}

@keyframes fadeUp{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width:768px){

    .dept-hero{
        padding:100px 0;
    }

    .hero-title{
        font-size:3rem;
    }

    .department-header{
        padding:35px 25px;
    }

    .department-body{
        padding:35px 20px;
    }

    .dept-top{
        flex-direction:column;
        text-align:center;
    }

    .dept-title{
        font-size:2rem;
    }

    .staff-image-wrap{
        width:180px;
        height:180px;
    }

    .dept-navigation{
        padding:25px;
    }

}
.ck-content{
    line-height:1.9;
    font-size:1.05rem;
    color:rgba(255,255,255,.92);
}

.ck-content p{
    margin-bottom:14px;
}

.ck-content ul{
    padding-left:22px;
    margin-bottom:16px;
}

.ck-content li{
    margin-bottom:8px;
}

.ck-content strong{
    color:#fff;
    font-weight:800;
}

.ck-content br{
    line-height:2;
}
